import static org.junit.Assert.*;

import org.junit.Test;

import com.acmetelecom.BillingSystem;
import com.acmetelecom.CallEnd;
import com.acmetelecom.CallEvent;
import com.acmetelecom.CallStart;


public class Test1 {

	@Test
	public void test() {
		FackGenerator fg = new FackGenerator();
		BillingSystem billingsystem = new BillingSystem(fg);
		String caller = "447722113434";
		String callee = "447766814143";
		long call_start = 0;
		long call_end = 100000;
		
		CallEvent e1 = new CallStart(caller,callee,call_start);
		CallEvent e2 = new CallEnd(caller,callee,call_end);
		
		billingsystem.addCall(e1);
		billingsystem.addCall(e2);
		
		billingsystem.createCustomerBills();
		
		//fail("Not yet implemented");
	}
}
